home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
loa_and_the_island.swf
/
scripts
/
DefineSprite_772
/
frame_8
/
PlaceObject2_622_8
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2008-03-17
|
495b
|
14 lines
onClipEvent(enterFrame){
if(_root.paused == false and this.hitTest(_root.lavafilter))
{
if(this.hitTest(_root.level.sprite._x + _root.level._x,_root.level.sprite._y + _root.level._y - 10,true) and _root.level.sprite._currentframe > 1)
{
move = random(_root.level.sprite.speed * 4 + 1) - _root.level.sprite.speed * 2;
}
_rotation = _rotation + move;
move += (init - _rotation) / 10;
move /= 1.1;
move += random(3) - 1;
}
}